package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperSysconfService implements Serializable {
    private Integer id;

    /**
     * 负责人员工id（多个|分割）
     */
    private String workerId;

    /**
     * 负责人姓名（多个|分割）
     */
    private String workerName;

    /**
     * 服务组名称
     */
    private String serviceName;

    /**
     * 添加时间
     */
    private Date indate;

    /**
     * 分配车辆（车牌号，|分割）
     */
    private String plate;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 负责人员工id（多个|分割）
     */
    public String getWorkerId() {
        return workerId;
    }

    /**
     * 负责人员工id（多个|分割）
     */
    public void setWorkerId(String workerId) {
        this.workerId = workerId;
    }

    /**
     * 负责人姓名（多个|分割）
     */
    public String getWorkerName() {
        return workerName;
    }

    /**
     * 负责人姓名（多个|分割）
     */
    public void setWorkerName(String workerName) {
        this.workerName = workerName;
    }

    /**
     * 服务组名称
     */
    public String getServiceName() {
        return serviceName;
    }

    /**
     * 服务组名称
     */
    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    /**
     * 添加时间
     */
    public Date getIndate() {
        return indate;
    }

    /**
     * 添加时间
     */
    public void setIndate(Date indate) {
        this.indate = indate;
    }

    /**
     * 分配车辆（车牌号，|分割）
     */
    public String getPlate() {
        return plate;
    }

    /**
     * 分配车辆（车牌号，|分割）
     */
    public void setPlate(String plate) {
        this.plate = plate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", workerId=").append(workerId);
        sb.append(", workerName=").append(workerName);
        sb.append(", serviceName=").append(serviceName);
        sb.append(", indate=").append(indate);
        sb.append(", plate=").append(plate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperSysconfService other = (SuperSysconfService) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getWorkerId() == null ? other.getWorkerId() == null : this.getWorkerId().equals(other.getWorkerId()))
            && (this.getWorkerName() == null ? other.getWorkerName() == null : this.getWorkerName().equals(other.getWorkerName()))
            && (this.getServiceName() == null ? other.getServiceName() == null : this.getServiceName().equals(other.getServiceName()))
            && (this.getIndate() == null ? other.getIndate() == null : this.getIndate().equals(other.getIndate()))
            && (this.getPlate() == null ? other.getPlate() == null : this.getPlate().equals(other.getPlate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getWorkerId() == null) ? 0 : getWorkerId().hashCode());
        result = prime * result + ((getWorkerName() == null) ? 0 : getWorkerName().hashCode());
        result = prime * result + ((getServiceName() == null) ? 0 : getServiceName().hashCode());
        result = prime * result + ((getIndate() == null) ? 0 : getIndate().hashCode());
        result = prime * result + ((getPlate() == null) ? 0 : getPlate().hashCode());
        return result;
    }
}